const {app,assert} = require('egg-mock/bootstrap');
describe('test\extend\response.test.js',()=>{
   it('is200',()=>{
       let ctx = app.mockContext({});
       assert(ctx.response.isSuccess == true);
   });
   it('is404',()=>{
    let ctx = app.mockContext({});
    ctx.status = 404;
    assert(ctx.response.isSuccess == false);
});
});